<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>
<body>
<h1>用户登录</h1>
<form method="post">
    {% csrf_token %}
    <div>
        <label for="username">用户名</label>
        <input type="text" id="username" name="username" required>
    </div>
    <div>
        <label for="password">密码</label>
        <input type="password" id="password" name="password" required>
    </div>
    <p>
        <input type="checkbox" name="remember">记住
    </p>
    <button type="submit">登录</button>
</form>
</body>
</html>